﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RGiesecke.DllExport;
using System.Collections;
using System.ComponentModel;
using System.IO;
using System.Reflection;

namespace CQ.CSharpSDK.Interface
{
    public class CQInterface
    {
        
        [DllExport("_eventStartup", CallingConvention = System.Runtime.InteropServices.CallingConvention.StdCall)]
        public static int _eventStartup()
        {
            LoadDLL a = new LoadDLL();
            //object ccc = a.tecc;
            //Type al = ccc.GetType();
            //MethodInfo testa = al.GetMethod("tt");
            //testa.Invoke(ccc,null);
            //string dllname;
            //dllname= Assembly.GetExecutingAssembly().Location.Split('\\').Last<string>();
            //Console.WriteLine(dllname);
            return 0;
            //MethodInfo m=new 
        }
        

    }
}